package com.beagle.njddapp.bean.dirver;

import java.io.Serializable;

/**
 * @author hxx
 * @date 2021-03-25 15:04
 */
public class OilOrderState implements Serializable {

    /**
     * code : 0000
     * desc :
     * lastOilRequest : {"requestTime":"2021-02-06 15:11:00","expectMeter":10.2,"accept":true,"sendTime":"2021-02-06 15:11:00","orderState":"finished","takeTime":"2021-02-06 15:11:00","arriveTime":"2021-02-06 15:11:00","meter":10.2,"amount":10000,"finishTime":"2021-02-06 15:11:00"}
     * lastFinishedOilRequest : {"requestTime":"2021-02-06 15:11:00","expectMeter":10.2,"accept":true,"sendTime":"2021-02-06 15:11:00","orderState":"finished","takeTime":"2021-02-06 15:11:00","arriveTime":"2021-02-06 15:11:00","meter":10.2,"amount":10000,"finishTime":"2021-02-06 15:11:00"}
     */

    private String code;
    private String desc;
    private LastOilRequestBean lastOilRequest;
    private LastFinishedOilRequestBean lastFinishedOilRequest;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public LastOilRequestBean getLastOilRequest() {
        return lastOilRequest;
    }

    public void setLastOilRequest(LastOilRequestBean lastOilRequest) {
        this.lastOilRequest = lastOilRequest;
    }

    public LastFinishedOilRequestBean getLastFinishedOilRequest() {
        return lastFinishedOilRequest;
    }

    public void setLastFinishedOilRequest(LastFinishedOilRequestBean lastFinishedOilRequest) {
        this.lastFinishedOilRequest = lastFinishedOilRequest;
    }

    public static class LastOilRequestBean implements Serializable{
        /**
         * requestTime : 2021-02-06 15:11:00
         * expectMeter : 10.2
         * accept : true
         * sendTime : 2021-02-06 15:11:00
         * orderState : finished
         * takeTime : 2021-02-06 15:11:00
         * arriveTime : 2021-02-06 15:11:00
         * meter : 10.2
         * amount : 10000
         * finishTime : 2021-02-06 15:11:00
         */

        private String requestTime;
        private double expectMeter;
        private boolean accept;
        private String sendTime;
        private String orderState;
        private String takeTime;
        private String arriveTime;
        private double meter;
        private int amount;
        private String finishTime;
        private String requestState;

        public String getRequestState() {
            return requestState;
        }

        public void setRequestState(String requestState) {
            this.requestState = requestState;
        }

        public String getRequestTime() {
            return requestTime;
        }

        public void setRequestTime(String requestTime) {
            this.requestTime = requestTime;
        }

        public double getExpectMeter() {
            return expectMeter;
        }

        public void setExpectMeter(double expectMeter) {
            this.expectMeter = expectMeter;
        }

        public boolean isAccept() {
            return accept;
        }

        public void setAccept(boolean accept) {
            this.accept = accept;
        }

        public String getSendTime() {
            return sendTime;
        }

        public void setSendTime(String sendTime) {
            this.sendTime = sendTime;
        }

        public String getOrderState() {
            return orderState;
        }

        public void setOrderState(String orderState) {
            this.orderState = orderState;
        }

        public String getTakeTime() {
            return takeTime;
        }

        public void setTakeTime(String takeTime) {
            this.takeTime = takeTime;
        }

        public String getArriveTime() {
            return arriveTime;
        }

        public void setArriveTime(String arriveTime) {
            this.arriveTime = arriveTime;
        }

        public double getMeter() {
            return meter;
        }

        public void setMeter(double meter) {
            this.meter = meter;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public String getFinishTime() {
            return finishTime;
        }

        public void setFinishTime(String finishTime) {
            this.finishTime = finishTime;
        }
    }

    public static class LastFinishedOilRequestBean implements Serializable{
        /**
         * requestTime : 2021-02-06 15:11:00
         * expectMeter : 10.2
         * accept : true
         * sendTime : 2021-02-06 15:11:00
         * orderState : finished
         * takeTime : 2021-02-06 15:11:00
         * arriveTime : 2021-02-06 15:11:00
         * meter : 10.2
         * amount : 10000
         * finishTime : 2021-02-06 15:11:00
         */

        private String requestTime;
        private double expectMeter;
        private boolean accept;
        private String sendTime;
        private String orderState;
        private String takeTime;
        private String arriveTime;
        private double meter;
        private int amount;
        private String finishTime;

        public String getRequestTime() {
            return requestTime;
        }

        public void setRequestTime(String requestTime) {
            this.requestTime = requestTime;
        }

        public double getExpectMeter() {
            return expectMeter;
        }

        public void setExpectMeter(double expectMeter) {
            this.expectMeter = expectMeter;
        }

        public boolean isAccept() {
            return accept;
        }

        public void setAccept(boolean accept) {
            this.accept = accept;
        }

        public String getSendTime() {
            return sendTime;
        }

        public void setSendTime(String sendTime) {
            this.sendTime = sendTime;
        }

        public String getOrderState() {
            return orderState;
        }

        public void setOrderState(String orderState) {
            this.orderState = orderState;
        }

        public String getTakeTime() {
            return takeTime;
        }

        public void setTakeTime(String takeTime) {
            this.takeTime = takeTime;
        }

        public String getArriveTime() {
            return arriveTime;
        }

        public void setArriveTime(String arriveTime) {
            this.arriveTime = arriveTime;
        }

        public double getMeter() {
            return meter;
        }

        public void setMeter(double meter) {
            this.meter = meter;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public String getFinishTime() {
            return finishTime;
        }

        public void setFinishTime(String finishTime) {
            this.finishTime = finishTime;
        }
    }
}
